//完整引入element-plus资源
import 'element-plus/dist/index.css'
import ElementPlus from 'element-plus'

import { createApp } from 'vue'
import  pinia from './stores'

import App from './App.vue'
import router from './router'

//初始化esri的apikey
import esriConfig from '@arcgis/core/config.js'
esriConfig.apiKey =
  'AAPTxy8BH1VEsoebNVZXo8HurMH1bDUKjVgZbylFq5w6u_EzpjEDpWywqhs3u4BLIvNG5scVQukJYZhd9qGG2X6lxkVL0dFsRvN-xrun_s2snyHk72DP4YS0CJ8QvHrJWHDZe9n4Bbv--PILolyRpUg6jMzIbk-bWpT5Y5SAE6NJLAq1J76acAiz07U8z5RgqpIFhqrVwx8EXMs8gSZPn_uLhVaxbxyVnnapPrkFRM2uimTYlIOHeWJe1miLaQ9obGZbAT1_lYdPJdZo'
//初始化esri语言
import * as intl from '@arcgis/core/intl.js'
intl.setLocale('zh-CN')

const app = createApp(App)
app.use(ElementPlus)
app.use(pinia)
app.use(router)

app.mount('#app')
